<template>
	<view>
		<view class="top-ping-box">
			<view class="ping-box">
				<view class="itembox">
					<view class="ping-num">
						5.0
					</view>
					<view class="txt-txt">
						商家评分
					</view>
				</view>
				<view class="itembox">
					<view class="ping-num">
						5.0
					</view>
					<view class="txt-txt">
						商家评分
					</view>
				</view>
				<view class="itembox">
					<view class="ping-num">
						5.0
					</view>
					<view class="txt-txt">
						商家评分
					</view>
				</view>
			</view>
		</view>

		<view class="pingj-box">
			<view class="itembox" v-for="(i,k) in list" :key="k">
				<image :src="i.Image" style="width: 88rpx;height: 88rpx;border-radius: 50%;" mode=""></image>
				<view class="r-box">
					<view class="top-info">
						<view class="nameinfo">
							{{i.name}}
						</view>
						<view class="timeinfo">
							{{i.time}}
						</view>
					</view>
					<view class="centont-txt">
						{{i.content}}
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data( ) {
			return {
				list: [ {
						Image: '/static/empty.png',
						name: '蝎子莱莱',
						time: '2024-12-24 17:50',
						content: '服务周到热情似火，挑不出毛病来。'
					},
					{
						Image: '/static/empty.png',
						name: '蝎子莱莱',
						time: '2024-12-24 17:50',
						content: '服务周到热情似火，挑不出毛病来。'
					}
				]
			};
		}
	}
</script>

<style lang="scss">
	.top-ping-box {
		width: 750rpx;
		height: 290rpx;
		background: #F5F5F5;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		padding: 20rpx 30rpx;
		box-sizing: border-box;


		.ping-box {
			width: 690rpx;
			height: 220rpx;
			background: #B8D5FF;
			border-radius: 40rpx 40rpx 40rpx 40rpx;
			display: flex;


			.itembox {
				width: 230rpx;
				height: 220rpx;
				display: flex;
				flex-direction: column;
				align-items: center;
				justify-content: space-between;
				padding: 46rpx 0 56rpx 0;
				box-sizing: border-box;


				.ping-num {
					width: 100%;
					height: 58rpx;
					font-weight: bold;
					font-size: 40rpx;
					color: #247EFF;
					text-align: center;
				}

				.txt-txt {
					width: 100%;
					height: 36rpx;
					font-weight: 400;
					font-size: 24rpx;
					color: #247EFF;
					text-align: center;
				}
			}
		}
	}

	.pingj-box {
		width: 750rpx;
		min-height: 290rpx;
		background: #FFFFFF;

		.itembox {
			width: 100%;
			height: 148rpx;
			background-color: #fff;
			padding: 22rpx 30rpx;
			box-sizing: border-box;
			display: flex;
			align-items: center;
			justify-content: space-between;

			.r-box {
				width: 594rpx;
				height: 148rpx;
				display: flex;
				align-items: center;
				justify-content: space-evenly;
				flex-direction: column;
				margin-left: 8rpx;

				.top-info {
					width: 100%;
					height: 34rpx;
					display: flex;
					align-items: center;
					justify-content: space-between;

					.nameinfo {
						width: 50%;
						height: 34rpx;
						font-weight: 400;
						font-size: 22rpx;
						color: #666666;
						text-align: left;
					}

					.timeinfo {
						width: 50%;
						height: 34rpx;
						font-weight: 400;
						font-size: 22rpx;
						color: #BCBCBC;
						text-align: right;
					}
				}

				.centont-txt {
					width: 100%;
					height: 38rpx;
					font-weight: 400;
					font-size: 26rpx;
					color: #000000;
					text-align: left;
				}
			}
		}
	}
</style>